<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>首页</title>

<style type="text/css">
	* {margin: 0px;padding: 0px;}
	body {overflow: hidden;}
	.all {width: 10000px;height: 5000px;}
	.header {width: 100%;height: 50px;background-color: blue;z-index: 100;position: fixed;}
	.nav {width: 250px;height: 100%;position: fixed;top: 51px;background-color: red;}


</style>
</head>
<body>

<a href="./">index</a>

<div class="all">
	
	<div class="header"></div>
	<div class="nav"></div>
	
</div>

</body>
</html>